package com.atguigu.tingshu.album.impl;


import com.atguigu.tingshu.album.AlbumFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.*;
import com.atguigu.tingshu.vo.album.AlbumStatVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Slf4j
public class AlbumDegradeFeignClient implements AlbumFeignClient {


    @Override
    public Result<AlbumInfo> getAlbumInfo(Long id) {
        log.error("远程调用专辑服务getAlbumInfo服务降级");
        return null;
    }

    @Override
    public Result<BaseCategoryView> getCategoryView(Long category3Id) {
        log.error("远程调用专辑服务getCategoryView服务降级");
        return null;
    }

    @Override
    public Result<List<BaseCategory3>> getTopBaseCategory3(Long category1Id) {
        log.error("远程调用专辑服务getTopBaseCategory3服务降级");
        return null;
    }

    @Override
    public Result<AlbumStatVo> getAlbumStatVo(Long albumId) {
        log.error("远程调用专辑服务getAlbumStatVo服务降级");
        return null;
    }

    @Override
    public Result<List<BaseCategory1>> getAllCategory1() {
        log.error("远程调用专辑服务getAllCategory1服务降级");
        return null;
    }

    @Override
    public Result<List<TrackInfo>> getPaidTrackInfoList(Long trackId, Integer trackCount) {
        log.error("远程调用专辑服务getPaidTrackInfoList服务降级");
        return null;
    }

    @Override
    public Result<TrackInfo> getTrackInfo(Long id) {
        log.error("远程调用专辑服务getTrackInfo服务降级");
        return null;
    }
}
